package com.nwpu.am.pojo.dto;

import com.nwpu.am.annotation.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;

/**
 * UserAddDTO
 *
 * @author Du
 * @version 1.0
 * {@code @date} 2024/6/5
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("管理员零件库存查询传输对象")
public class PartFindDTO implements Serializable {
    private String partName;
    private String partTypeName;
    @Order
    @ApiModelProperty("排序方式为0（默认）或1（从大到小）或2（从小到大）")
    private short orderType;
    private String warehouseName;
}
